package com.offcn.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: wy
 * @Date: 2022/9/23 17:32
 */
@Configuration
public class QueueConfig02 {


    private String simpleQueue="work_queue";


    //@Bean
    public Queue queue(){
        return new Queue(simpleQueue);
    }
}
